package org.mii.safeguard_v1.base.web;

import javax.servlet.http.HttpServletResponse;

import org.mii.safeguard_v1.tools.itext.TestPDFService;
import org.springside.modules.web.struts2.Struts2Utils;

import com.opensymphony.xwork2.ActionSupport;

@SuppressWarnings("serial")
public class ItextAction extends ActionSupport {

	@Override
	public String execute() throws Exception {

		return super.execute();
	}

	public String download() throws Exception {
		HttpServletResponse response = Struts2Utils.getResponse();
		TestPDFService.print(response);
		return null;
	}
}
